#!/bin/bash
echo "Start of configure_php.sh"
sed -i 's/memory_limit = [0-9]*M/memory_limit = 256M/g' /etc/php5/cli/php.ini
sed -i 's/memory_limit = [0-9]*M/memory_limit = 256M/g' /etc/php5/apache2/php.ini
sed -i 's/;session.gc_probability = 0/session.gc_probability = 1/g' /etc/php5/cli/php.ini
sed -i 's/;session.gc_probability = 0/session.gc_probability = 1/g' /etc/php5/apache2/php.ini
echo "End of configure_php.sh"
